
 <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  
    <title>电容充电计算器 | xiaotao&#39;s Blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
    
    <meta name="author" content="xiaotao">
    

    
    <meta name="description" content=".clearfix
	{
		clear:both;
	}
	.box .xt-left
	{
		float:left;
		width:100px;
		text-align:right;
	}
	.box .xt-input
	{
		float:left;
		width:100px;
		margin:4px;
	}
	.box .xt-middle
	{
		float:left;">
<meta property="og:type" content="article">
<meta property="og:title" content="电容充电计算器">
<meta property="og:url" content="http://xiaotao.ml/post/counter/index.html">
<meta property="og:site_name" content="xiaotao's Blog">
<meta property="og:description" content=".clearfix
	{
		clear:both;
	}
	.box .xt-left
	{
		float:left;
		width:100px;
		text-align:right;
	}
	.box .xt-input
	{
		float:left;
		width:100px;
		margin:4px;
	}
	.box .xt-middle
	{
		float:left;">
<meta property="og:updated_time" content="2016-09-01T05:16:40.922Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="电容充电计算器">
<meta name="twitter:description" content=".clearfix
	{
		clear:both;
	}
	.box .xt-left
	{
		float:left;
		width:100px;
		text-align:right;
	}
	.box .xt-input
	{
		float:left;
		width:100px;
		margin:4px;
	}
	.box .xt-middle
	{
		float:left;">

    
    <link rel="alternative" href="/atom.xml" title="xiaotao&#39;s Blog" type="application/atom+xml">
    
    
    <link rel="icon" href="/img/favicon.ico">
    
    
    <link rel="apple-touch-icon" href="/img/jacman.jpg">
    <link rel="apple-touch-icon-precomposed" href="/img/jacman.jpg">
    
    <link rel="stylesheet" href="/css/style.css">
</head>

  <body>
    <header>
      
<div>
		
			<div id="imglogo">
				<a href="/"><img src="/img/logo.png" alt="xiaotao&#39;s Blog" title="xiaotao&#39;s Blog"/></a>
			</div>
			
			<div id="textlogo">
				<h1 class="site-name"><a href="/" title="xiaotao&#39;s Blog">xiaotao&#39;s Blog</a></h1>
				<h2 class="blog-motto">小涛的博客 —— 成长留下烙印、分享获得快乐！</h2>
			</div>
			<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
			</a></div>
			<nav class="animated">
				<ul>
					<ul>
					 
						<li><a href="/">主页 | Home</a></li>
					
						<li><a href="/archives">归档 | Archives</a></li>
					
						<li><a href="/about">简介 | About</a></li>
					
					<li>
 					
					<form class="search" action="//google.com/search" method="get" accept-charset="utf-8">
						<label>Search</label>
						<input type="search" id="search" name="q" autocomplete="off" maxlength="20" placeholder="搜索" />
						<input type="hidden" name="q" value="site:xiaotao.ml">
					</form>
					
					</li>
				</ul>
			</nav>			
</div>
    </header>
    <div id="container">
      <div id="main" class="post" itemscope itemprop="blogPost">
  
	<article itemprop="articleBody"> 
		<header class="article-info clearfix">
  <h1 itemprop="name">
    
      <a href="/post/counter/" title="电容充电计算器" itemprop="url">电容充电计算器</a>
  </h1>
  <p class="article-author">By
       
		<a href="/about" title="xiaotao" target="_blank" itemprop="author">xiaotao</a>
		
  <p class="article-time">
    <time datetime="2016-03-18T05:51:39.000Z" itemprop="datePublished"> 发表于 2016-03-18</time>
    
  </p>
</header>
	<div class="article-content">
		
		<style>
	.clearfix
	{
		clear:both;
	}
	.box .xt-left
	{
		float:left;
		width:100px;
		text-align:right;
	}
	.box .xt-input
	{
		float:left;
		width:100px;
		margin:4px;
	}
	.box .xt-middle
	{
		float:left;
		width:100px;
		margin:0 6px;
		border-bottom:solid 1px #000;
	}
	.box select
	{
		margin:5px !important;
	}
	.box .xt-right
	{
		float:left;
		width:50px;
		margin:0px 5px;
	}
	.box .xt-submit
	{
		float:left;
		width:50px;
		margin:5px;
	}
	.box
	{
		margin-left:auto;
		margin-right:auto;
		width:380px;	
	}
</style>

<h3 id="&#x8BA1;&#x7B97;&#x7535;&#x5BB9;&#x50A8;&#x80FD;">&#x8BA1;&#x7B97;&#x7535;&#x5BB9;&#x50A8;&#x80FD;</h3>
<br>
<div class="box">
	<div class="xt-line-box">
		<div class="xt-left">&#x7535;&#x538B;&#xFF1A;</div>
		<input id="volage-input" class="xt-input">
		<select id="volage-unit" class="xt-right">
		  <option value="0.001">mV</option>
		  <option value="1">V</option>
		  <option value="1000" selected="selected">kV</option>
		</select>
		<input class="xt-submit" type="submit" value="&#x8BA1;&#x7B97;" onclick="volageSubmit()">
		<div class="clearfix"></div>
	</div>
	<div class="xt-line-box">
		<div class="xt-left">&#x7535;&#x5BB9;&#x5BB9;&#x503C;&#xFF1A;</div>
		<input id="capacity-input" class="xt-input">
		
		<select id="capacity-unit" class="xt-right">
		  <option value="0.000000000001">pF</option>
		  <option value="0.000000001">nF</option>
		  <option value="0.000001" selected="selected">uF</option>
		  <option value="0.001">mF</option>
		  <option value="1">F</option>
		</select>
		<input class="xt-submit" type="submit" value="&#x8BA1;&#x7B97;" onclick="capacitySubmit()">
		<div class="clearfix"></div>
	</div>
	<div class="xt-line-box">
		<div class="xt-left">&#x50A8;&#x80FD;&#xFF1A;</div>
		<input id="energy-input" class="xt-input">
		<select id="energy-unit" class="xt-right">
		  <option value="0.001">mJ</option>
		  <option value="1" selected="selected">J</option>
		  <option value="1000">kJ</option>
		  <option value="1000000">MJ</option>
		</select>
		<input class="xt-submit" type="submit" value="&#x8BA1;&#x7B97;" onclick="energySubmit()">
		<div class="clearfix"></div>
	</div>
</div>

<h3 id="&#x5145;&#x7535;&#x65F6;&#x95F4;&#x8BA1;&#x7B97;">&#x5145;&#x7535;&#x65F6;&#x95F4;&#x8BA1;&#x7B97;</h3>
<br>
<div class="box">
	<div class="xt-line-box">
		<div class="xt-left">&#x7535;&#x6E90;&#x7535;&#x538B;&#xFF1A;</div>
		<input id="HV-volage-input" class="xt-input">
		<div class="xt-right">kV</div>
		<input class="xt-submit" type="submit" value="&#x540C;&#x4E0A;" onclick="volageSubmit()">
		<div class="clearfix"></div>
	</div>
	<div class="xt-line-box">
		<div class="xt-left">&#x7535;&#x6E90;&#x529F;&#x7387;&#xFF1A;</div>
		<input id="power-input" class="xt-input">
		<div class="xt-right">kW</div>
		<div class="clearfix"></div>
	</div>
	<div class="xt-line-box">
		<div class="xt-left">&#x5145;&#x7535;&#x7535;&#x6D41;&#xFF1A;</div>
		<div id="current" class="xt-middle">&#x3000;</div>
		<div class="xt-right">A</div>
		<div class="clearfix"></div>
	</div>
	<div class="xt-line-box">
		<div class="xt-left">&#x5145;&#x7535;&#x65F6;&#x95F4;&#xFF1A;</div>
		<div id="time" class="xt-middle">&#x3000;</div>
		<select id="time-unit" class="xt-right">
		  <option value="1" selected="selected">s</option>
		  <option value="60">min</option>
		</select>
		<input class="xt-submit" type="submit" value="&#x8BA1;&#x7B97;" onclick="timeSubmit()">
		<div class="clearfix"></div>
	</div>
</div>


  
	</div>
		<footer class="article-footer clearfix">
<div class="article-catetags">


</div>



	<div class="article-share" id="share">
	
	  <div data-url="http://xiaotao.ml/post/counter/" data-title="电容充电计算器 | xiaotao&#39;s Blog" data-tsina="null" class="share clearfix">
	  </div>
	
	</div>


</footer>

   	       
	</article>
	
<nav class="article-nav clearfix">
 

<div class="next">
<a href="/post/modbus/"  title="Modbus通讯协议简明教程">
 <strong>下一篇：</strong><br/> 
 <span>Modbus通讯协议简明教程
</span>
</a>
</div>

</nav>

	
<section id="comments" class="comment">
	<div class="ds-thread" data-thread-key="post/counter/" data-title="电容充电计算器" data-url="http://xiaotao.ml/post/counter/"></div>
</section>

<script>
(function(){
    var bp = document.createElement('script');
    bp.src = '//push.zhanzhang.baidu.com/push.js';
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>

</div>  
      <div class="openaside"><a class="navbutton" href="#" title="显示侧边栏"></a></div>

<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隐藏侧边栏"></a></div>
<aside class="clearfix">

  


  

  
<div class="tagslist">
	<p class="asidetitle">标签</p>
		<ul class="clearfix">
		
			
				<li><a href="/tags/Modbus-工业控制/" title="Modbus 工业控制">Modbus 工业控制<sup>1</sup></a></li>
			
		
		</ul>
</div>


  <div class="linkslist">
  <p class="asidetitle">友情链接</p>
    <ul>
        
          <li>
            
            	<a href="http://uidtq.com" target="_blank" title="Uidtq">Uidtq</a>
            
          </li>
        
    </ul>
</div>

  <div class="rsspart">
	<a href="/atom.xml" target="_blank" title="rss">RSS 订阅</a>
</div>

</aside>
</div>
    </div>
    <footer><div id="footer" >
	
	<div class="line">
		<span></span>
		<div class="author"></div>
	</div>
	
	
	<section class="info">
		<p> Hello ,I&#39;m xiaotao. This is my blog on GitHub. <br/>
			This is my blog, believe it or not.</p>
	</section>
	 
	<div class="social-font" class="clearfix">
		
		
		
		
		
		
		
		
		
		
	</div>
			
		

		<p class="copyright">
		Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/wuchong/jacman" target="_blank" title="Jacman">Jacman</a> © 2016 
		
		<a href="/about" target="_blank" title="xiaotao">xiaotao</a>
		
		
		</p>
</div>
</footer>
    <script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/user-js.js"></script>
<script src="http://faisalman.github.io/ua-parser-js/src/ua-parser.js"></script>

<script type="text/javascript">
$(document).ready(function(){ 
  $('.navbar').click(function(){
    $('header nav').toggleClass('shownav');
  });
  var myWidth = 0;
  function getSize(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
  };
  var m = $('#main'),
      a = $('#asidepart'),
      c = $('.closeaside'),
      o = $('.openaside');
  c.click(function(){
    a.addClass('fadeOut').css('display', 'none');
    o.css('display', 'block').addClass('fadeIn');
    m.addClass('moveMain');
  });
  o.click(function(){
    o.css('display', 'none').removeClass('beforeFadeIn');
    a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');      
    m.removeClass('moveMain');
  });
  $(window).scroll(function(){
    o.css("top",Math.max(80,260-$(this).scrollTop()));
  });
  
        getSize();
        if (myWidth >= 1024) {
          c.click();
        }
  
  $(window).resize(function(){
    getSize(); 
    if (myWidth >= 1024) {
      $('header nav').removeClass('shownav');
    }else{
      m.removeClass('moveMain');
      a.css('display', 'block').removeClass('fadeOut');
      o.css('display', 'none');
        
    }
  });
});
</script>

<script type="text/javascript">
$(document).ready(function(){ 
  var ai = $('.article-content>iframe'),
      ae = $('.article-content>embed'),
      t  = $('#toc'),
      ta = $('#toc.toc-aside'),
      o  = $('.openaside'),
      c  = $('.closeaside');
  if(ai.length>0){
    ai.wrap('<div class="video-container" />');
  };
  if(ae.length>0){
   ae.wrap('<div class="video-container" />');
  };
  c.click(function(){
    ta.css('display', 'block').addClass('fadeIn');
  });
  o.click(function(){
    ta.css('display', 'none');
  });
  $(window).scroll(function(){
    ta.css("top",Math.max(140,320-$(this).scrollTop()));
  });
});
</script>


<script type="text/javascript">
$(document).ready(function(){ 
  var $this = $('.share'),
      url = $this.attr('data-url'),
      encodedUrl = encodeURIComponent(url),
      title = $this.attr('data-title'),
      tsina = $this.attr('data-tsina'),
      description = $this.attr('description');
  var html = [
  '<div class="hoverqrcode clearfix"></div>',
  '<a class="overlay" id="qrcode"></a>',
  '<a href="https://www.facebook.com/sharer.php?u=' + encodedUrl + '" class="article-share-facebook" target="_blank" title="Facebook"></a>',
  '<a href="https://twitter.com/intent/tweet?url=' + encodedUrl + '" class="article-share-twitter" target="_blank" title="Twitter"></a>',
  '<a href="#qrcode" class="article-share-qrcode" title="微信"></a>',
  '<a href="http://widget.renren.com/dialog/share?resourceUrl=' + encodedUrl + '&srcUrl=' + encodedUrl + '&title=' + title +'" class="article-share-renren" target="_blank" title="人人"></a>',
  '<a href="http://service.weibo.com/share/share.php?title='+title+'&url='+encodedUrl +'&ralateUid='+ tsina +'&searchPic=true&style=number' +'" class="article-share-weibo" target="_blank" title="微博"></a>',
  '<span title="Share to"></span>'
  ].join('');
  $this.append(html);
  $('.article-share-qrcode').click(function(){
    var imgSrc = $('#qrcode-pic').attr('data-src');
    $('#qrcode-pic').attr('src', imgSrc);
    $('#qrcode-pic').load(function(){
        $('.qrcode strong').text(' ');
    });
  });
});     
</script>



<script type="text/javascript">
  var duoshuoQuery = {short_name:"zhhangtaao"};
  (function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = '//xiaotao.ml/embed_ua.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0] 
    || document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
</script> 





<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
  $('.article-content').each(function(i){
    $(this).find('img').each(function(){
      if ($(this).parent().hasClass('fancybox')) return;
      var alt = this.alt;
      if (alt) $(this).after('<span class="caption">' + alt + '</span>');
      $(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
    });
    $(this).find('.fancybox').each(function(){
      $(this).attr('rel', 'article' + i);
    });
  });
  if($.fancybox){
    $('.fancybox').fancybox();
  }
}); 
</script>



<!-- Analytics Begin -->



<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?e6d1f421bbc9962127a50488f9ed37d1";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>



<!-- Analytics End -->

<!-- Totop Begin -->

	<div id="totop">
	<a title="返回顶部"><img src="/img/scrollup.png"/></a>
	</div>
	<script src="/js/totop.js"></script>

<!-- Totop End -->

<!-- MathJax Begin -->
<!-- mathjax config similar to math.stackexchange -->


<!-- MathJax End -->

<!-- Tiny_search Begin -->

<!-- Tiny_search End -->


  </body>
</html>
